import Vue from 'vue';
import ElementUI from 'element-ui'; // 2.1引入结构
import 'element-ui/lib/theme-chalk/index.css'; // 2.2引入样式
import App from './App.vue';
import router from './router';
import axios from 'axios';

Vue.prototype.$axios = axios;
Vue.use(ElementUI); // 3.安装


import  VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)


import echarts from 'echarts'
//需要挂载到Vue原型上
Vue.prototype.$echarts = echarts


import VueCropper from 'vue-cropper'
Vue.use(VueCropper)

import VueContextMenu from 'vue-contextmenu'
Vue.use(VueContextMenu)

new Vue({
  router,
  el: '#app',
  render: h => h(App)
});